//
// Created by lymk on 2021/8/4.
//

#ifndef GAME2D_MOVEMENTCOMPONENT_H
#define GAME2D_MOVEMENTCOMPONENT_H
#include "../Actor/GameActor.h"
#include "../Utils.h"

class MovementComponent {
    CoolUtil *move_cool;
public:
    MovementComponent();
    void SetCoolTime(double cool_time);
    void Update(double DeltaSeconds,GameActor* gameActor);
};


#endif //GAME2D_MOVEMENTCOMPONENT_H
